projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eed276
)
Suppress docstring control char warning in macro-generated function
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 24 Feb 2024 11:08:09 +0000
(12:08 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Sat, 24 Feb 2024 11:14:19 +0000
(12:14 +0100)
* lisp/progmodes/cc-defs.el (c-lang-defconst):
Make sure that `val` won't be treated as a docstring.
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index e45ab76ec07ce3ebba6af2a2deaaf1ae4fbac348..2c793c8a99d8003c7790d10b6a1ac8397023fcd5 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-2579,7
+2579,8
@@
constant. A file is identified by its base name."
;; dependencies on the `c-lang-const's in VAL.)
(setq val (c--macroexpand-all val))
- (setq bindings `(cons (cons ',assigned-mode (lambda () ,val)) ,bindings)
+ (setq bindings `(cons (cons ',assigned-mode (lambda () nil ,val))
+ ,bindings)
args (cdr args))))
;; Compile in the other files that have provided source